package decorator

type tJsonLoggerFactory struct {
}

func newJsonLoggerFactory() ILoggerFactory {
	return &tJsonLoggerFactory{}
}

func (me *tJsonLoggerFactory) GetLogger(name string) ILogger {
	logger := ConsoleLoggerFactory.GetLogger(name)
	return newJsonLogger(name, logger)
}

var JsonLoggerFactory = newJsonLoggerFactory()